﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004FD RID: 1277
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ExchangeStaminaCsReq : IMessage<ExchangeStaminaCsReq>, IMessage, IEquatable<ExchangeStaminaCsReq>, IDeepCloneable<ExchangeStaminaCsReq>, IBufferMessage
	{
		// Token: 0x17001084 RID: 4228
		// (get) Token: 0x060039C5 RID: 14789 RVA: 0x0009EB1F File Offset: 0x0009CD1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ExchangeStaminaCsReq> Parser
		{
			get
			{
				return ExchangeStaminaCsReq._parser;
			}
		}

		// Token: 0x17001085 RID: 4229
		// (get) Token: 0x060039C6 RID: 14790 RVA: 0x0009EB26 File Offset: 0x0009CD26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ExchangeStaminaCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001086 RID: 4230
		// (get) Token: 0x060039C7 RID: 14791 RVA: 0x0009EB38 File Offset: 0x0009CD38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ExchangeStaminaCsReq.Descriptor;
			}
		}

		// Token: 0x060039C8 RID: 14792 RVA: 0x0009EB3F File Offset: 0x0009CD3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeStaminaCsReq()
		{
		}

		// Token: 0x060039C9 RID: 14793 RVA: 0x0009EB47 File Offset: 0x0009CD47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeStaminaCsReq(ExchangeStaminaCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060039CA RID: 14794 RVA: 0x0009EB60 File Offset: 0x0009CD60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeStaminaCsReq Clone()
		{
			return new ExchangeStaminaCsReq(this);
		}

		// Token: 0x060039CB RID: 14795 RVA: 0x0009EB68 File Offset: 0x0009CD68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ExchangeStaminaCsReq);
		}

		// Token: 0x060039CC RID: 14796 RVA: 0x0009EB76 File Offset: 0x0009CD76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ExchangeStaminaCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x060039CD RID: 14797 RVA: 0x0009EB94 File Offset: 0x0009CD94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060039CE RID: 14798 RVA: 0x0009EBBA File Offset: 0x0009CDBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060039CF RID: 14799 RVA: 0x0009EBC2 File Offset: 0x0009CDC2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060039D0 RID: 14800 RVA: 0x0009EBCB File Offset: 0x0009CDCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060039D1 RID: 14801 RVA: 0x0009EBE4 File Offset: 0x0009CDE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060039D2 RID: 14802 RVA: 0x0009EC0A File Offset: 0x0009CE0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ExchangeStaminaCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060039D3 RID: 14803 RVA: 0x0009EC27 File Offset: 0x0009CE27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060039D4 RID: 14804 RVA: 0x0009EC30 File Offset: 0x0009CE30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040016A6 RID: 5798
		private static readonly MessageParser<ExchangeStaminaCsReq> _parser = new MessageParser<ExchangeStaminaCsReq>(() => new ExchangeStaminaCsReq());

		// Token: 0x040016A7 RID: 5799
		private UnknownFieldSet _unknownFields;
	}
}
